/**
 * Cesium - https://github.com/AnalyticalGraphicsInc/cesium
 *
 * Copyright 2011-2020 Cesium Contributors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Columbus View (Pat. Pend.)
 *
 * Portions licensed separately.
 * See https://github.com/AnalyticalGraphicsInc/cesium/blob/master/LICENSE.md for full licensing details.
 */
define(["./defined-b9ff0e39","./Check-e6691f86","./freezeObject-2d5b18ce","./defaultValue-199f5aa8","./Math-92bd3539","./Cartesian2-0cba8ff8","./defineProperties-ae15c9d5","./Transforms-ef58c24c","./RuntimeError-d5522ee3","./WebGLConstants-554ddbe2","./ComponentDatatype-569c1e3e","./GeometryAttribute-bf764789","./when-c208a7cf","./GeometryAttributes-c3465b51","./AttributeCompression-0a086956","./GeometryPipeline-e96667f3","./EncodedCartesian3-5dfc19fb","./IndexDatatype-7119db15","./IntersectionTests-f3b3236d","./Plane-f21abdf2","./PrimitivePipeline-5cdbe90c","./WebMercatorProjection-bf58b253","./createTaskProcessorWorker"],function(d,e,r,t,n,i,a,f,o,c,s,b,u,m,l,p,y,P,k,v,C,h,G){"use strict";var W={};function A(e){var r=W[e];return d.defined(r)||("object"==typeof exports?W[r]=r=require("Workers/"+e):require(["Workers/"+e],function(e){W[r=e]=e})),r}return G(function(e,r){for(var t=e.subTasks,n=t.length,i=new Array(n),a=0;a<n;a++){var f=t[a],o=f.geometry,c=f.moduleName;if(d.defined(c)){var s=A(c);i[a]=s(o,f.offset)}else i[a]=o}return u.when.all(i,function(e){return C.PrimitivePipeline.packCreateGeometryResults(e,r)})})});
